package com.service.front.Impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dao.front.IMvFrontDao;
import com.service.front.IMvFrontService;
@Service
public class MvServiceFrontImpl implements IMvFrontService {

	//调用数据访问层查询所有
	@Autowired
	private IMvFrontDao dao;
	@Override
	public List<Map<String, Object>> list() {
		return dao.findAll();
	}
	@Override
	public List<Map<String, Object>> queryMvType() {
		// TODO Auto-generated method stub
		return dao.queryMvType();
	}
	@Override
	public List<Map<String, Object>> queryMvTypeId(int mvTypeId) {
		// TODO Auto-generated method stub
		return dao.queryMvTypeId(mvTypeId);
	}

}
